@extends('admin.public.father')

@section('content')
    <!-- TAB NAVIGATION -->
    <ul class="nav nav-tabs" role="tablist">
        <li><a href="{{route('user.index')}}">用户列表</a></li>
        <li class="active"><a href="{{route('user.create')}}">添加用户</a></li>
    </ul>
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">添加用户</h3>
        </div>
        <div class="panel-body">
            <form action="{{route('user.store')}}" method="post">
                @csrf
                <div class="form-group">
                    <label for="exampleInputEmail1">用户名</label>
                    <input type="text" class="form-control" name="name">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">邮箱</label>
                    <input type="email" class="form-control" name="email">
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">密码</label>
                    <input type="password" class="form-control"name="password" >
                </div>

                <button type="submit" class="btn btn-default">Submit</button>

            </form>
        </div>
    </div>
@endsection
